// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   ClientService.java

package org.quickserver.net.client;

import java.io.IOException;
import java.net.Socket;

public interface ClientService
{

    public abstract int getMode();

    public abstract void connect(String s, int i)
        throws Exception;

    public abstract boolean isConnected();

    public abstract void close()
        throws IOException;

    public abstract void sendByte(int i)
        throws IOException;

    public abstract void sendBytes(byte abyte0[])
        throws IOException;

    public abstract void sendBytes(String s, String s1)
        throws IOException;

    public abstract void sendLine(String s, String s1)
        throws IOException;

    public abstract void sendObject(Object obj)
        throws IOException;

    public abstract int readByte()
        throws IOException;

    public abstract byte[] readBytes()
        throws IOException;

    public abstract String readBytes(String s)
        throws IOException;

    public abstract String readLine()
        throws IOException;

    public abstract Object readObject()
        throws IOException, ClassNotFoundException;

    public abstract Socket getSocket();

    public static final int BLOCKING = 1;
    public static final int NON_BLOCKING = 2;
}
